SERVER=xenon.cs.luc.edu:~/public_html/cs271/lectures

all: images slides article

article:
	#latex priorityqueues.article
	#bibtex priorityqueues.article
	pdflatex priorityqueues.article
	pdflatex priorityqueues.article

slides:
	#latex priorityqueues.beamer
	#bibtex priorityqueues.beamer
	pdflatex priorityqueues.beamer
	pdflatex priorityqueues.beamer

images:
	dot -Tpdf sample_binary_search_tree.dot > sample_binary_search_tree.pdf
	dot -Tpdf sample_heap.dot > sample_heap.pdf


publish: all
	scp priorityqueues.beamer.pdf ${SERVER}/lec10-priorityqueues.beamer.pdf
	scp priorityqueues.article.pdf ${SERVER}/lec10-priorityqueues.article.pdf

clean:
	-rm *.aux *.log *.nav *.out *.pdf *.snm *.toc *.vrb *.ps *.dvi *.bbl *.blg
	-rm *~